﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PickUp : RightClickOption 
{	
	public Item invyItem;

	void Awake()
	{
		actionName = "Pick up " + invyItem.name;
	}

	public override void Action(GameObject sender)
	{
		sender.GetComponent<MotionController> ().PickUp (this.gameObject.transform.root.gameObject);
	}
}
